package com.example.gulimall.product.feign;

import com.example.common.to.es.SkuEsModel;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * <p>
 *
 * </p>
 *
 * @author zyred
 * @since v 0.1
 **/
@FeignClient("gulimall-search")
public interface SearchFeignService {

    @PostMapping("/es/save/product")
    boolean productStatusUp (@RequestBody List<SkuEsModel> skuEsModels);

}
